![]() | Dynamic Hierarchies | Referencing Hierarchy Data | ![]() |
Hierarchy Inference is invoked using the @Do command with the Hierarchy name from the Main Agenda or any Procedure or Event.
This causes the Classes in the Hierarchy to be invoked from "top to bottom", only bypassing the children of any Class that are not selected (the isSelected property = 'No').
Each invoked Class fires its onHierarchyEnter event, before then invoking the Class Knowledge Inference to determine its selected Instance(s) (based on its Selection Knowledge). Finally, if isSelected = 'Yes' then the onHierarchyExit of the Class is fired.
The isSelected property can be set ('Yes' or 'No') from the onHierarchyEnter. Alternatively, if it is set to 'Knowledge' then it will set itself automatically (to 'Yes' or 'No') if the Class Instance gets selected